object fmCategories: TfmCategories
  Left = 282
  Top = 178
  Width = 664
  Height = 482
  Caption = 'Categories'
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'MS Sans Serif'
  Font.Style = []
  OldCreateOrder = False
  OnClose = FormClose
  OnShow = FormShow
  PixelsPerInch = 96
  TextHeight = 13
  object lbl24: TLabel
    Left = 9
    Top = 13
    Width = 65
    Height = 13
    Caption = 'Global Site ID'
  end
  object cxDBTreeList1: TcxDBTreeList
    Left = 8
    Top = 40
    Width = 279
    Height = 353
    Bands = <
      item
      end>
    DataController.DataSource = dsCategories
    DataController.ImageIndexField = 'ileaf'
    DataController.ParentField = 'CategoryParentID'
    DataController.KeyField = 'CategoryID'
    OptionsData.Editing = False
    OptionsData.Deleting = False
    RootValue = -1
    TabOrder = 0
    object cxDBTreeList1cxDBTreeListColumn1: TcxDBTreeListColumn
      PropertiesClassName = 'TcxLabelProperties'
      Properties.WordWrap = True
      Caption.AlignHorz = taCenter
      Caption.Text = 'Name'
      DataBinding.FieldName = 'CategoryName'
      Options.Editing = False
      Width = 200
      Position.ColIndex = 0
      Position.RowIndex = 0
      Position.BandIndex = 0
      Summary.FooterSummaryItems = <>
      Summary.GroupFooterSummaryItems = <>
    end
    object cxDBTreeList1cxDBTreeListColumn2: TcxDBTreeListColumn
      Caption.AlignHorz = taCenter
      Caption.Text = 'ID'
      DataBinding.FieldName = 'CategoryID'
      Options.Editing = False
      Width = 60
      Position.ColIndex = 1
      Position.RowIndex = 0
      Position.BandIndex = 0
      Summary.FooterSummaryItems = <>
      Summary.GroupFooterSummaryItems = <>
    end
  end
  object cxComboBox1: TcxComboBox
    Left = 88
    Top = 8
    Properties.OnChange = cxComboBox1PropertiesChange
    TabOrder = 1
    Text = 'cxComboBox1'
    Width = 201
  end
  object DBGrid1: TDBGrid
    Left = 304
    Top = 8
    Width = 337
    Height = 385
    DataSource = dsCategories
    TabOrder = 2
    TitleFont.Charset = DEFAULT_CHARSET
    TitleFont.Color = clWindowText
    TitleFont.Height = -11
    TitleFont.Name = 'MS Sans Serif'
    TitleFont.Style = []
  end
  object qryCategories: TnxQuery
    Database = fmMain.nxdtbs1
    ReadOnly = True
    SQL.Strings = (
      
        'SELECT CategoryID, CategoryLevel, CategoryName, CategoryParentID' +
        ',  LeafCategory, GlobalSiteID'
      'FROM  "Categories"'
      'where GlobalSiteID = :GlobalSiteID '
      'order by CategoryParentID , CategoryName')
    Left = 237
    Top = 224
    ParamData = <
      item
        DataType = ftString
        Name = 'GlobalSiteID'
        ParamType = ptInput
        Value = 'EBAY_US'
      end>
    object qryCategoriesChildrens: TIntegerField
      FieldKind = fkCalculated
      FieldName = 'Childrens'
      Calculated = True
    end
    object qryCategoriesCategoryName: TStringField
      FieldName = 'CategoryName'
      Size = 100
    end
    object qryCategoriesLeafCategory: TBooleanField
      FieldName = 'LeafCategory'
    end
    object qryCategoriesCategoryID: TIntegerField
      FieldName = 'CategoryID'
    end
    object qryCategoriesCategoryParentID: TIntegerField
      FieldName = 'CategoryParentID'
    end
    object qryCategoriesCategoryLevel: TIntegerField
      FieldName = 'CategoryLevel'
    end
    object qryCategoriesileaf: TSmallintField
      FieldKind = fkCalculated
      FieldName = 'ileaf'
      Calculated = True
    end
    object qryCategoriesGlobalSiteID: TStringField
      FieldName = 'GlobalSiteID'
    end
  end
  object dsCategories: TDataSource
    DataSet = qryCategories
    Left = 237
    Top = 272
  end
end
